package com.shelpe.services.sinbad.service;

import java.text.ParseException;

import com.shelpe.services.sinbad.model.KeywordsLog;

public interface KeywordsLogService {

	Integer save(KeywordsLog record);
	
	/**
	 * 当天是否通过思路执行过关键词出价
	 * @param keywordId
	 * @return
	 * @throws ParseException
	 */
	boolean selectSemiautoExecByToday(Long keywordId) throws ParseException;
	
	/**
	 * 获取该关键词最近的一条记录
	 * @param keywordId
	 * @return
	 */
	KeywordsLog getOne(Long keywordId);
}
